package cn.itcast.bos.repository;

import cn.itcast.bos.domain.base.Area;
import cn.itcast.bos.domain.base.Courier;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

/**
 * Created by Think on 2017/9/16.
 */
@Repository
public interface AreaRepository extends JpaRepository<Area,String>,JpaSpecificationExecutor<Area> {

    Area findByProvinceAndCityAndDistrict(String province, String city, String district);
}
